<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags" %>

<div id='optimize'>
	<div>
		<form id="search-form">
			<select name="filter.saleStatus">
				<option value="0">出售中</option>
				<option value="1" banner='for_shelved'>待上架</option>
				<option value="1" banner='sold_out'>已卖完</option>
			</select>
			<select name="filter.sellerCids">
				<option value=''>所有分类</option>
				<s:iterator value="categories">
					<option value='<s:property value="cid"/>' parent='<s:property value="parentCid"/>'>
						<s:if test="%{parentCid != 0}">└</s:if>
						<s:property value="name" />
					</option>
				</s:iterator>
			</select>
			<input id="keyword" type="text" name="filter.keyWord" value="关键字" style="margin:0.5em 0;"></input>
			<button id='search' style="margin:0.5em 0;">筛选</button>
		</form>
	</div>
	<div class='items'>
		<s:action name="items" executeResult='true'></s:action>
	</div>
	<div class="pager span-18"></div>
	<div class='optimize-dialog' title="标题优化"></div>
</div>
<script type="text/javascript" src="js/optimize.js"></script>